<?$this->load->view('admin/tools/admin-header')?>
<?$this->load->view('admin/tools/admin-menu')?>
<?=$xinha_inclusion?>

<div class="wrap">
	<a><div id="icon-index" class="icon32"><br /></div></a><br>
<h3><a>Tulis -> Posting</a></h3>
<?if(!(empty($mode))){echo"<div id='message' class='updated fade'><p>$pesan</p></div>";}?>
<div id="dashboard-widgets-wrap">
<form action="<?=site_url('paneladm/postadm/add_posting')?>" method='POST' enctype="multipart/form-data">
<table width="90%" border="0">
<tr valign="top">
<td width="60%">
<div>
<h3><label for="title">Judul Posting</label></h3>
<input type="text" name="post_judul" size="30" style="width:100%"/>
</div>
<div>
<h3><label for="gambar utama">Gambar Utama</label></h3>
<input type="file" name="userfile" size="50"/>
</div>
<div style="float:left">
<h3><label for="title">Isi Posting</label></h3>
<textarea id="teks" cols="80" rows="25" name="post_isi"></textarea>
</div>
</td>

<td  style="float:right;background-color:#464646;" width="350px;">
<div class="submitbox" id="submitpage">

<div class="submit">

<strong><label for='post_status'>Kategori&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Status</label></strong><br>
<select name='kategori' id='post_kategori' style="width:160px">
<option value='Berita'>Berita</option>
<option value='Tokoh'>Tokoh</option>
</select>

<select name='post_status' tabindex='6' id='post_status' style="width:100px">
<option value='publish'>Approve</option>
<option selected="selected" value='unpublish'>Pending</option>
<option value='unpublish'>Reject</option></select>
<br><br>
<strong><label for='post_status'>Tanggal</label></strong><br>
<input type="text" name="post_tanggal" size="12" id="DateAgenda" value="<?echo date("Y-m-d");?>" readonly><input type="button" onClick="SelectDate('Date1')" value="Set"><br>

<strong><label for='post_status'>Jam&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Menit&nbsp;&nbsp;&nbsp;Detik</label></strong><br>
<select name='post_hour' tabindex='6' id='post_status' style="width:40px">
<option value='00'>00</option>
<option value='01'>01</option>
<option value='02'>02</option>
<option value='03'>03</option>
<option value='04'>04</option>
<option value='05'>05</option>
<option value='06'>06</option>
<option value='07'>07</option>
<option value='08'>08</option>
<option value='09'>09</option>
<option value='10'>10</option>
<option value='11'>11</option>
<option value='12'>12</option>
<option value='13'>13</option>
<option value='14'>14</option>
<option value='15'>15</option>
<option value='16'>16</option>
<option value='17'>17</option>
<option value='18'>18</option>
<option value='19'>19</option>
<option value='20'>20</option>
<option value='21'>21</option>
<option value='22'>22</option>
<option value='23'>23</option>
<option value='24'>24</option>
</select>

<select name='post_minute' tabindex='6' id='post_status' style="width:40px">
<option value='00'>00</option>
<option value='01'>01</option>
<option value='02'>02</option>
<option value='03'>03</option>
<option value='04'>04</option>
<option value='05'>05</option>
<option value='06'>06</option>
<option value='07'>07</option>
<option value='08'>08</option>
<option value='09'>09</option>
<option value='10'>10</option>
<?
for($i=11;$i<=59;$i++){
	echo "<option value='$i'>$i</option>";
}
?>
</select>

<select name='post_second' tabindex='6' id='post_status' style="width:40px">
<option value='00'>00</option>
<option value='01'>01</option>
<option value='02'>02</option>
<option value='03'>03</option>
<option value='04'>04</option>
<option value='05'>05</option>
<option value='06'>06</option>
<option value='07'>07</option>
<option value='08'>08</option>
<option value='09'>09</option>
<option value='10'>10</option>
<?
for($i=11;$i<=59;$i++){
	echo "<option value='$i'>$i</option>";
}
?>
</select>
<div class="clearfix"></div><br>

<input type='submit' class="button-primary"  name='submit' value='Simpan'>
</div>
</div>
</td>
</tr>
</table>
</form>
</div>
</div><!-- wrap -->
<div class="clear"></div></div><!-- wpbody-content -->
<div class="clear"></div></div><!-- wpbody -->
<div class="clear"></div></div><!-- wpcontent -->
</div><!-- wpwrap -->

<!--admin-footer-->
<?$this->load->view('admin/tools/admin-footer');?>
<!--admin-footer-->
